package arv;

public class Dvd extends Media {
	private String mainActor;
	private String director;
	
	public Dvd(String title, int length, String mainActor, String director){
		this.length = length;
		this.title = title;
		this.mainActor = mainActor;
		this.director = director;
	}
	public String toString(){
		return title + " " + length + " " + mainActor + " " + director;
	}
	@Override
	public void run(){
		System.out.println("now playnig DVD " + title + "by director " + director);
	}

}
